package assignment6;

import java.util.Comparator;

/**
 * Class which will compare the Morse code strings
 * 
 * @author Terry Wasserleben CS204-21370 Prof. Jeannette Myers Due: 11/02/2011
 */
public class MorseCodeComparator implements Comparator<String> {
	
	/**
	 * method compares two strings and returns an integer specifying if it is
	 * greater than or less than
	 * 
	 * @param s1 first String compared
	 * @param s2 second String compared
	 * @return int returned specifying greater than or less than
	 */
	public int compare(String s1, String s2) {
		return s1.compareTo(s2);
	}
	
}
